package com.qf.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author Qiao
 * @date 2025/8/11
 * @desc
 */
@Data
@AllArgsConstructor  //全参构造
@NoArgsConstructor    //无参构造
public class User {
    private int id;
    private String username;
    private String password;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    private String phone;
    private double money;
    private int sex;
}
